<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Nabu-asr: nabu.neuralnetworks.components.hooks.LoadAtBegin Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Nabu-asr
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacenabu.html">nabu</a></li><li class="navelem"><b>neuralnetworks</b></li><li class="navelem"><b>components</b></li><li class="navelem"><b>hooks</b></li><li class="navelem"><a class="el" href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.html">LoadAtBegin</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nabu.neuralnetworks.components.hooks.LoadAtBegin Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>a training hook for saving the final variables  
 <a href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nabu.neuralnetworks.components.hooks.LoadAtBegin:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.png" usemap="#nabu.neuralnetworks.components.hooks.LoadAtBegin_map" alt=""/>
  <map id="nabu.neuralnetworks.components.hooks.LoadAtBegin_map" name="nabu.neuralnetworks.components.hooks.LoadAtBegin_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2d7e0646b9bf5cf4f54745d0773bac7d"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.html#a2d7e0646b9bf5cf4f54745d0773bac7d">__init__</a> (self, filename, variables)</td></tr>
<tr class="memdesc:a2d7e0646b9bf5cf4f54745d0773bac7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">hook constructor  <a href="#a2d7e0646b9bf5cf4f54745d0773bac7d">More...</a><br /></td></tr>
<tr class="separator:a2d7e0646b9bf5cf4f54745d0773bac7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada363caea329451d5c9fc7f57a75c0d5"><td class="memItemLeft" align="right" valign="top"><a id="ada363caea329451d5c9fc7f57a75c0d5"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.html#ada363caea329451d5c9fc7f57a75c0d5">begin</a> (self)</td></tr>
<tr class="memdesc:ada363caea329451d5c9fc7f57a75c0d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">this will be run at session creation <br /></td></tr>
<tr class="separator:ada363caea329451d5c9fc7f57a75c0d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa27b3cd706324a32801f9d158c7243f"><td class="memItemLeft" align="right" valign="top"><a id="afa27b3cd706324a32801f9d158c7243f"></a>
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1components_1_1hooks_1_1LoadAtBegin.html#afa27b3cd706324a32801f9d158c7243f">after_create_session</a> (self, session, _)</td></tr>
<tr class="memdesc:afa27b3cd706324a32801f9d158c7243f"><td class="mdescLeft">&#160;</td><td class="mdescRight">this will be run after session creation <br /></td></tr>
<tr class="separator:afa27b3cd706324a32801f9d158c7243f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a224ab58f923656c1c86dade472b32c88"><td class="memItemLeft" align="right" valign="top"><a id="a224ab58f923656c1c86dade472b32c88"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>filename</b></td></tr>
<tr class="separator:a224ab58f923656c1c86dade472b32c88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe8d8610fbaa5768d29ecfa11864471f"><td class="memItemLeft" align="right" valign="top"><a id="abe8d8610fbaa5768d29ecfa11864471f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>variables</b></td></tr>
<tr class="separator:abe8d8610fbaa5768d29ecfa11864471f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a training hook for saving the final variables </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2d7e0646b9bf5cf4f54745d0773bac7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d7e0646b9bf5cf4f54745d0773bac7d">&sect;&nbsp;</a></span>__init__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.neuralnetworks.components.hooks.LoadAtBegin.__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>variables</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>hook constructor </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>where the model will be saved </td></tr>
    <tr><td class="paramname">variables</td><td>the variables that will be loaded </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="hooks_8py.html">hooks.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
